package com.yjh.auth.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.*;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.oauth2.common.exceptions.InvalidGrantException;
import org.springframework.security.web.WebAttributes;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import util.R;

import javax.servlet.http.HttpServletRequest;

@Controller
public class SecurityController {



    @GetMapping("/auth/login")
    public String loginPage(){
        return "login";
    }


//    @GetMapping("/wechat/token")
//    public String token(){
//        return "login";
//    }


}
